package org.htzb.news.biz.impl;

import org.htzb.news.biz.UserBiz;
import org.htzb.news.dao.UserDao;
import org.htzb.news.dao.impl.UserDaoImpl;
import org.htzb.news.entity.User;

import java.sql.SQLException;

public class UserBizImpl implements UserBiz {
    UserDao userDao=new UserDaoImpl();
    @Override
    public User findUser(String uname, String password) throws SQLException {
        return userDao.findUser(uname, password);
    }
}
